/**
 * Project Name:fire-industry-DM-center
 * File Name:DmMapProject.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月8日下午3:03:29
 *
*/

package com.firestone.bean.entity.elasticsearch.dm;

import java.io.Serializable;
import java.util.List;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;
import org.springframework.data.elasticsearch.annotations.Setting;

import com.firestone.bean.entity.elasticsearch.nested.Founder;
import com.firestone.bean.entity.elasticsearch.nested.Milestones;
import com.firestone.bean.entity.elasticsearch.nested.Team;
import com.firestone.bean.entity.elasticsearch.nested.WeightJson;

/**
 * @Description: TODO(数据工厂DM层企业表 Elasticsearch bean)
 *               DM数据工厂ES表不由该系统维护，请将createIndex设为false，避免系统启动时修改了大数据维护表的索引
 * @author CAIYJ
 * @date 2018年4月8日 下午3:03:29
 */
@Document(indexName = "dm_map_project", type = "index", createIndex = false)
@Setting(settingPath = "/setting/setting.json")
public class DmMapProject implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String id;

    /**
     * @Fields SYS_add_time : TODO(添加时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_add_time;

    /**
     * @Fields SYS_check_time : TODO(检验时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_check_time;

    /**
     * @Fields SYS_dm_update_time : TODO(更改时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd HH:mm:ss")
    private String SYS_dm_update_time;

    /**
     * @Fields address : TODO(详细地址)
     */
    @Field(type = FieldType.keyword)
    private String address;

    /**
     * @Fields address_area : TODO(区域)
     */
    @Field(type = FieldType.keyword)
    private String address_area;

    /**
     * @Fields address_city : TODO(市)
     */
    @Field(type = FieldType.keyword)
    private String address_city;

    /**
     * @Fields address_country : TODO(国家)
     */
    @Field(type = FieldType.keyword)
    private String address_country;

    /**
     * @Fields address_province : TODO(省)
     */
    @Field(type = FieldType.keyword)
    private String address_province;

    /**
     * @Fields chengliriqi : TODO(成立日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String chengliriqi;

    /**
     * @Fields cname : TODO(曾用名)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String cname;

    /**
     * @Fields company_portraits : TODO(企业画像)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String company_portraits;

    /**
     * @Fields company_tag : TODO(企业标签)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String company_tag;

    /**
     * @Fields dengjijiguan : TODO(登记机关)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String dengjijiguan;

    /**
     * @Fields describer : TODO(描述)
     */
    @Field(type = FieldType.text, index = false)
    private String describer;

    /**
     * @Fields email : TODO(邮箱)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word", searchAnalyzer = "ik_max_word")
    private String email;

    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String end_date;

    /**
     * @Fields englishname : TODO(英文名称)
     */
    @Field(type = FieldType.keyword)
    private String englishname;

    /**
     * @Fields fadingdaibiao : TODO(法定代表)
     */
    @Field(type = FieldType.keyword)
    private String fadingdaibiao;

    /**
     * @Fields fazhaoriqi : TODO(发照日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String fazhaoriqi;

    /**
     * @Fields founder : TODO(股东实体)
     */
    @Field(type = FieldType.Nested)
    private List<Founder> founder;

    /**
     * @Fields geo_id : TODO()
     */
    @Field(type = FieldType.keyword)
    private String geo_id;

    /**
     * @Fields gongsileixing : TODO(公示类型)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String gongsileixing;

    /**
     * @Fields hezhun_date : TODO(核准日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String hezhun_date;

    /**
     * @Fields homeurl : TODO(官网)
     */
    @Field(type = FieldType.keyword)
    private String homeurl;

    /**
     * @Fields iconurl : TODO(logo)
     */
    @Field(type = FieldType.keyword)
    private String iconurl;

    /**
     * @Fields industry : TODO(产业)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String industry;

    /**
     * @Fields invested_companies : TODO(投资企业)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String invested_companies;

    /**
     * @Fields ismedical : TODO(医健企业 定义：1=医健企业；2=药店、药房等 ；3=医院 ；4=研究机构
     *         ；6=代理机构；7=美容整形机构；8=健康服务(包括体育运动, 保健, 按摩等；9=疗养院；0: 明确不是医健相关的公司； 5:
     *         剩余不能明确判断的) )
     */
    @Field(type = FieldType.keyword)
    private String ismedical;

    /**
     * @Fields isnative : TODO(1:国内；0：国外)
     */
    @Field(type = FieldType.keyword)
    private String isnative;

    /**
     * @Fields jieshuriqi : TODO(结束日期)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String jieshuriqi;

    /**
     * @Fields jingyingfanwei : TODO(经营范围)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String jingyingfanwei;

    /**
     * @Fields jingyingzhuangtai : TODO(经营状态)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String jingyingzhuangtai;

    /**
     * @Fields lat : TODO(纬度)
     */
    @Field(type = FieldType.keyword)
    private String lat;

    /**
     * @Fields lat : TODO(经纬度)
     */
    @Field(type = FieldType.keyword)
    private String lng_lat;

    /**
     * @Fields lat : TODO(经度)
     */
    @Field(type = FieldType.keyword)
    private String lon;

    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String main_business;

    /**
     * @Fields milestones : TODO(里程碑)
     */
    @Field(type = FieldType.Nested)
    private List<Milestones> milestones;

    /**
     * @Fields name : TODO(名称)
     */
    @Field(type = FieldType.keyword)
    private String name;

    /**
     * @Fields office_address : TODO(办公地址)
     */
    @Field(type = FieldType.keyword)
    private String office_address;

    /**
     * @Fields phone : TODO(手机)
     */
    @Field(type = FieldType.keyword)
    private String phone;

    /**
     * @Fields pinpaimingcheng : TODO(品牌名称)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String pinpaimingcheng;

    /**
     * @Fields scale : TODO(规模)
     */
    @Field(type = FieldType.text, analyzer = "ik_max_word")
    private String scale;

    /**
     * @Fields shortname : TODO(简称)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String shortname;

    /**
     * @Fields start_date : TODO(开始时间)
     */
    @Field(type = FieldType.Date, format = DateFormat.custom, pattern = "yyyy-MM-dd")
    private String start_date;

    /**
     * @Fields stock_json : TODO(股票json)
     */
    @Field(type = FieldType.keyword)
    private String stock_json;

    /**
     * @Fields team : TODO(团队成员实体)
     */
    @Field(type = FieldType.Nested)
    private List<Team> team;

    /**
     * @Fields type : TODO(1:企业；3：机构)
     */
    @Field(type = FieldType.keyword)
    private String type;

    /**
     * @Fields unicode : TODO(统一社会编码)
     */
    @Field(type = FieldType.keyword)
    private String unicode;

    /**
     * @Fields weight_json : TODO(记录各个字段改动情况实体)
     */
    @Field(type = FieldType.Nested)
    private List<WeightJson> weight_json;

    /**
     * @Fields yingyeqixian : TODO(营业期限)
     */
    @Field(type = FieldType.keyword)
    private String yingyeqixian;

    /**
     * @Fields zhucehao : TODO(注册号)
     */
    @Field(type = FieldType.keyword)
    private String zhucehao;

    /**
     * @Fields zhucehao_middle : TODO(注册号中间体)
     */
    @Field(type = FieldType.keyword)
    private String zhucehao_middle;

    /**
     * @Fields zhucehao_prefix : TODO(注册号前缀)
     */
    @Field(type = FieldType.keyword)
    private String zhucehao_prefix;

    /**
     * @Fields zhuceziben : TODO(注册资本)
     */
    @Field(type = FieldType.keyword)
    private String zhuceziben;

    /**
     * @Fields zhuceziben_base : TODO(注册资本金额单位)
     */
    @Field(type = FieldType.keyword)
    private String zhuceziben_base;

    /**
     * @Fields zhuceziben_currency : TODO(注册资本币种)
     */
    @Field(type = FieldType.keyword)
    private String zhuceziben_currency;

    /**
     * @Fields zhuceziben_currency : TODO(注册资本金额数量)
     */
    @Field(type = FieldType.keyword)
    private String zhuceziben_num;

    /**
     * @Fields zipcode : TODO()
     */
    @Field(type = FieldType.keyword)
    private String zipcode;

    /**
     * @Fields zizhi : TODO(资质)
     */
    @Field(type = FieldType.text, analyzer = "tab_analyzer")
    private String zizhi;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSYS_add_time() {
        return SYS_add_time;
    }

    public void setSYS_add_time(String sYS_add_time) {
        SYS_add_time = sYS_add_time;
    }

    public String getSYS_check_time() {
        return SYS_check_time;
    }

    public void setSYS_check_time(String sYS_check_time) {
        SYS_check_time = sYS_check_time;
    }

    public String getSYS_dm_update_time() {
        return SYS_dm_update_time;
    }

    public void setSYS_dm_update_time(String sYS_dm_update_time) {
        SYS_dm_update_time = sYS_dm_update_time;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getAddress_area() {
        return address_area;
    }

    public void setAddress_area(String address_area) {
        this.address_area = address_area;
    }

    public String getAddress_city() {
        return address_city;
    }

    public void setAddress_city(String address_city) {
        this.address_city = address_city;
    }

    public String getAddress_country() {
        return address_country;
    }

    public void setAddress_country(String address_country) {
        this.address_country = address_country;
    }

    public String getAddress_province() {
        return address_province;
    }

    public void setAddress_province(String address_province) {
        this.address_province = address_province;
    }

    public String getChengliriqi() {
        return chengliriqi;
    }

    public void setChengliriqi(String chengliriqi) {
        this.chengliriqi = chengliriqi;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getCompany_portraits() {
        return company_portraits;
    }

    public void setCompany_portraits(String company_portraits) {
        this.company_portraits = company_portraits;
    }

    public String getCompany_tag() {
        return company_tag;
    }

    public void setCompany_tag(String company_tag) {
        this.company_tag = company_tag;
    }

    public String getDengjijiguan() {
        return dengjijiguan;
    }

    public void setDengjijiguan(String dengjijiguan) {
        this.dengjijiguan = dengjijiguan;
    }

    public String getDescriber() {
        return describer;
    }

    public void setDescriber(String describer) {
        this.describer = describer;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getEnd_date() {
        return end_date;
    }

    public void setEnd_date(String end_date) {
        this.end_date = end_date;
    }

    public String getEnglishname() {
        return englishname;
    }

    public void setEnglishname(String englishname) {
        this.englishname = englishname;
    }

    public String getFadingdaibiao() {
        return fadingdaibiao;
    }

    public void setFadingdaibiao(String fadingdaibiao) {
        this.fadingdaibiao = fadingdaibiao;
    }

    public String getFazhaoriqi() {
        return fazhaoriqi;
    }

    public void setFazhaoriqi(String fazhaoriqi) {
        this.fazhaoriqi = fazhaoriqi;
    }

    public List<Founder> getFounder() {
        return founder;
    }

    public void setFounder(List<Founder> founder) {
        this.founder = founder;
    }

    public String getGeo_id() {
        return geo_id;
    }

    public void setGeo_id(String geo_id) {
        this.geo_id = geo_id;
    }

    public String getGongsileixing() {
        return gongsileixing;
    }

    public void setGongsileixing(String gongsileixing) {
        this.gongsileixing = gongsileixing;
    }

    public String getHezhun_date() {
        return hezhun_date;
    }

    public void setHezhun_date(String hezhun_date) {
        this.hezhun_date = hezhun_date;
    }

    public String getHomeurl() {
        return homeurl;
    }

    public void setHomeurl(String homeurl) {
        this.homeurl = homeurl;
    }

    public String getIconurl() {
        return iconurl;
    }

    public void setIconurl(String iconurl) {
        this.iconurl = iconurl;
    }

    public String getIndustry() {
        return industry;
    }

    public void setIndustry(String industry) {
        this.industry = industry;
    }

    public String getInvested_companies() {
        return invested_companies;
    }

    public void setInvested_companies(String invested_companies) {
        this.invested_companies = invested_companies;
    }

    public String getIsmedical() {
        return ismedical;
    }

    public void setIsmedical(String ismedical) {
        this.ismedical = ismedical;
    }

    public String getIsnative() {
        return isnative;
    }

    public void setIsnative(String isnative) {
        this.isnative = isnative;
    }

    public String getJieshuriqi() {
        return jieshuriqi;
    }

    public void setJieshuriqi(String jieshuriqi) {
        this.jieshuriqi = jieshuriqi;
    }

    public String getJingyingfanwei() {
        return jingyingfanwei;
    }

    public void setJingyingfanwei(String jingyingfanwei) {
        this.jingyingfanwei = jingyingfanwei;
    }

    public String getJingyingzhuangtai() {
        return jingyingzhuangtai;
    }

    public void setJingyingzhuangtai(String jingyingzhuangtai) {
        this.jingyingzhuangtai = jingyingzhuangtai;
    }

    public String getLat() {
        return lat;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLng_lat() {
        return lng_lat;
    }

    public void setLng_lat(String lng_lat) {
        this.lng_lat = lng_lat;
    }

    public String getLon() {
        return lon;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getMain_business() {
        return main_business;
    }

    public void setMain_business(String main_business) {
        this.main_business = main_business;
    }

    public List<Milestones> getMilestones() {
        return milestones;
    }

    public void setMilestones(List<Milestones> milestones) {
        this.milestones = milestones;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getOffice_address() {
        return office_address;
    }

    public void setOffice_address(String office_address) {
        this.office_address = office_address;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPinpaimingcheng() {
        return pinpaimingcheng;
    }

    public void setPinpaimingcheng(String pinpaimingcheng) {
        this.pinpaimingcheng = pinpaimingcheng;
    }

    public String getScale() {
        return scale;
    }

    public void setScale(String scale) {
        this.scale = scale;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getStart_date() {
        return start_date;
    }

    public void setStart_date(String start_date) {
        this.start_date = start_date;
    }

    public String getStock_json() {
        return stock_json;
    }

    public void setStock_json(String stock_json) {
        this.stock_json = stock_json;
    }

    public List<Team> getTeam() {
        return team;
    }

    public void setTeam(List<Team> team) {
        this.team = team;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUnicode() {
        return unicode;
    }

    public void setUnicode(String unicode) {
        this.unicode = unicode;
    }

    public List<WeightJson> getWeight_json() {
        return weight_json;
    }

    public void setWeight_json(List<WeightJson> weight_json) {
        this.weight_json = weight_json;
    }

    public String getYingyeqixian() {
        return yingyeqixian;
    }

    public void setYingyeqixian(String yingyeqixian) {
        this.yingyeqixian = yingyeqixian;
    }

    public String getZhucehao() {
        return zhucehao;
    }

    public void setZhucehao(String zhucehao) {
        this.zhucehao = zhucehao;
    }

    public String getZhucehao_middle() {
        return zhucehao_middle;
    }

    public void setZhucehao_middle(String zhucehao_middle) {
        this.zhucehao_middle = zhucehao_middle;
    }

    public String getZhucehao_prefix() {
        return zhucehao_prefix;
    }

    public void setZhucehao_prefix(String zhucehao_prefix) {
        this.zhucehao_prefix = zhucehao_prefix;
    }

    public String getZhuceziben() {
        return zhuceziben;
    }

    public void setZhuceziben(String zhuceziben) {
        this.zhuceziben = zhuceziben;
    }

    public String getZhuceziben_base() {
        return zhuceziben_base;
    }

    public void setZhuceziben_base(String zhuceziben_base) {
        this.zhuceziben_base = zhuceziben_base;
    }

    public String getZhuceziben_currency() {
        return zhuceziben_currency;
    }

    public void setZhuceziben_currency(String zhuceziben_currency) {
        this.zhuceziben_currency = zhuceziben_currency;
    }

    public String getZhuceziben_num() {
        return zhuceziben_num;
    }

    public void setZhuceziben_num(String zhuceziben_num) {
        this.zhuceziben_num = zhuceziben_num;
    }

    public String getZipcode() {
        return zipcode;
    }

    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }

    public String getZizhi() {
        return zizhi;
    }

    public void setZizhi(String zizhi) {
        this.zizhi = zizhi;
    }
}
